package com.moneywelcome.goldassembly.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 黄金赎回规则表
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class RedeemRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "rule_id", type = IdType.AUTO)
    private Integer ruleId;

    /**
     * 黄金id
     */
    private Integer goldId;

    /**
     * 最小持有期限
     */
    private Integer minHoldDays;

    /**
     * 最大持有期限
     */
    private Integer maxHoldDays;

    /**
     * 赎回费率
     */
    private Double redeemRate;

    /**
     * 规则描述
     */
    private String ruleDesc;

    /**
     * 记录新增时间
     */
    private String rawAddTime;

    /**
     * 更新时间
     */
    private String rawUpdateTime;


}
